< previous page page_463 next page >

Page 463
e10a6a0a59f035e870d90cca05b85fce.gif
Dim i As Integer

    For i = 1 To NumPoints
        T.Transform Points(i).coord(1), _
            Points(i).coord(2),  Points(i).coord(3)
    Next i
End Sub
You can see the complete source code for the Polyline3d class in Pline3d.cls.
Example program Distort uses the Polyline3d class to demonstrate several shape-distorting transformations. When you run the program, it creates grids on the top and two sides of a cube, as shown in the upper left in Figure 13.36. Click on the option buttons to make the program apply one of the transformations shown in Figure 13.36.
Example program Shapes uses the Polyline3d class to display several three-dimensional scenes. Use the option buttons to select the scene you want to see.
z0483-01.gif
Figure 13.36
Shape-distorting transformations.

 
< previous page page_463 next page >